package org.shiki.hrm.feign;

import org.shiki.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "hrm-system", fallbackFactory = UserInfoFallbackFactory.class)
public interface UserInfoFeignClient {
	@GetMapping("/employee/getTenantInfoById/{id}")
	AjaxResult getTenantInfoById(@PathVariable("id") Long id);
}
